package com.ln.asset.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 资产管理列表
 * </p>
 *
 * @author qiaoyanru
 * @since 2022-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AssetInfo对象", description="资产管理列表")
public class AssetInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "a_id", type = IdType.AUTO)
    private Integer aId;

    @ApiModelProperty(value = "资产编号")
    private Integer aNo;

    @ApiModelProperty(value = "资产名称")
    private String aName;

    @ApiModelProperty(value = "资产状态(0:闲置;1:已借用;2:已领用;3:处置中;4:报废)")
    private Integer aStatus;

    @ApiModelProperty(value = "盘点状态(0:-;1:盘点中)")
    private Integer invStatus;

    @ApiModelProperty(value = "资产数量")
    private Integer aCount;

    @ApiModelProperty(value = "单位(件、个、块等)")
    private String aUnit;

    @ApiModelProperty(value = "1级分类id")
    private Integer aKind;

    @ApiModelProperty(value = "当前负责人")
    private String nowPerson;

    @ApiModelProperty(value = "入库时间")
    private LocalDateTime creatTime;

    @ApiModelProperty(value = "所属组织")
    private Integer organization;

    @ApiModelProperty(value = "所属部门")
    private Integer department;

    @TableLogic
    private Integer isDeleted;


}
